[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
##############################################################################
###+------------+#############################################################
#+-| CLEAR GETS |--------------------------------------------+################
#| +------------+ The CLEAR GETS command deletes the list of |################
#| active input GETs from the read list. |################
#+-----------------------------------------------------------+################
##############################################################################
##############################################################################
#+--| Syntax |--------+#######################################################
#| CLEAR GETS |#######################################################
#+--------------------+#######################################################
##############################################################################
##############################################################################
##############+---| Description |------------------------------+##############
##############| Memory allocated to each GET will be released. |##############
##############+------------------------------------------------+##############
##############################################################################
##############################################################################
#########+--| Example 1 |-------------------------------------------+#########
#########| * Prepare for a READ. |#########
#########| |#########
#########| @ row(), x GET dbf->field1 |#########
#########| @ row(), x GET dbf->field2 |#########
#########| @ row(), x GET dbf->field3 |#########
#########| |#########
#########| WAIT "Get data [Y/N]" TO ans |#########
#########| IF ans $ 'Yy' |#########
#########| READ |#########
#########| ELSE |#########
#########| CLEAR GETS && Released the GETS and |#########
#########| && frees memory associated |#########
#########| && with the GETs. |#########
#########| ENDIF |#########
#########+----------------------------------------------------------+#########
##############################################################################
##############################################################################
#########+--| Example 2 |-------------------------------------------+#########
#########| * Clear any GETs prior to indexing or running |#########
#########| * an external application to conserve memory. |#########
#########| |#########
#########| ACCEPT "Run application now? [Y/N] " TO ans |#########
#########| IF ans $ "Yy" |#########
#########| CLEAR GETS |#########
#########| RUN "\data\xmp.exe" |#########
#########| DO setup_gets |#########
#########| ENDIF |#########
#########| {...} |#########
#########+----------------------------------------------------------+#########
##############################################################################
See Also:
@...GET
ID
READ
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson